Cleaned up methods, added helpers.
Cleaned up a bit more; Added a variable for typeline (useful for GUI or just displays)