Text this: Constrained portfolio selection with Markov and non-Markov processes and insiders