A mock application, with a solution to problems i've had.