Everything except restricted global variables is implemented. A few things to note:
1 - I implemented write and writeln as the same call. They're exactly the same, so I see no reason not to.
2 - There will *probably* be a few errors on things that I'm not catching. I need to do some real testing here.
3 - When in doubt, whip it out.