Updated canSubmit and cursor

fixes #17 and allows canSubmit always