Thanks alot, thats given me a good starting point for my research...

@Brainer:
That huge code file is crazy! I've only gotten a game I was making (text-based) to 3500 lines...

@NecroDome:
Thanks, I'll look into those subjects